package com.bcbim.authentication.code.service;

import com.bcbim.authentication.code.mapper.SysCodeMapper;
import com.bcbim.authentication_interface.code.po.SysCode;
import com.bcbim.authentication_interface.code.service.SysCodeService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @Description: 系统码值service实现类
 * @Author haoshuai
 * @Date 2020/9/22
 * @Version V1.0
 **/
@Service(timeout = 60 * 1000, group = "sysCode", version = "1.0.0")
public class SysCodeServiceImpl implements SysCodeService {

    @Autowired
    private SysCodeMapper sysCodeMapper;

    @Override
    public List<SysCode> getAllSysCode() {
        return sysCodeMapper.getAllSysCode();
    }

}
